/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.suarte.core.service;

import com.suarte.core.*;
import org.appfuse.service.GenericManager;

import java.util.List;
import java.util.Date;

/**
 * @date   Feb 15, 2011
 * @author Gcastillo
 */
public interface PaymentManager extends GenericManager<Payment, Long> {
    List<Payment> findByDescription(String description);
    void store(Payment object);
    Payment get(Long id);
    void deleteDetails(List<InvoicePayment> args);
    void approve(Payment object);
    List<Payment> findPayments(Long id, String description, Date date, Company company, Contact contact, PaymentStatus status);
}